package com.sgb.kjwl.repository;

import com.sgb.kjwl.model.entity.AddShoppingCar;
import com.sgb.kjwl.model.entity.DeleteShoppingCar;
import com.sgb.kjwl.model.entity.ShoppingCarEntity;
import com.swgk.core.base.model.entity.BaseEntity;

import java.util.List;
import java.util.Map;

import io.reactivex.Observable;

public interface ShoppingCarRepertory extends BaseRepertory {

    //购物车详情
    Observable<BaseEntity<List<ShoppingCarEntity>>> getShoppingCarEntity(String id);
    Observable<BaseEntity> addShoppingCar(AddShoppingCar addShoppingCar);
    Observable<BaseEntity<Boolean>> updateShoppingCar(Map map);
    Observable<BaseEntity> deleteShoppingCar(DeleteShoppingCar deleteShoppingCar);
}
